//---------------------------------------------------------------------------
#ifndef CPServH
#define CPServH

//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Cadpad.h"
#include "CGAUGES.h"
#include "PHDS.h"
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include "PHGridEd.h"
#include <Grids.hpp>

//---------------------------------------------------------------------------
class TCPServ1 : public TCadPad1
{
__published:  // IDE-managed Components
  PHDataSource*  DS1;
  PHGridEdit*  PHGridEdit1;
  TLabel*  Label1;
  PHGridEdit*  PHGridEdit2;
  void __fastcall FormDestroy( TObject* Sender );
  void __fastcall FormShow( TObject* Sender );
  void __fastcall DS1BeforePost( TObject* Sender );
  void __fastcall PHDS1AfterInsert( TObject* Sender );
  void __fastcall PHDS1BeforeDelete( TObject* Sender );
  void __fastcall DS1StateChange( Estados State );
  void __fastcall PHDS1AfterRead( TObject* Sender );
  void __fastcall PHDS1StateChange( Estados State );
  void __fastcall PHDS1BeforePost( TObject* Sender );
  void __fastcall PHDS1AfterOpen( TObject* Sender ); private: // User declarations
  struct SERV*  Serv; public: // User declarations
  __fastcall TCPServ1( TComponent* Owner );
};

//---------------------------------------------------------------------------
extern PACKAGE TCPServ1*  CPServ1;

//---------------------------------------------------------------------------
#endif

